import CryptoJS from 'crypto-js';

export const encryptBase = (rawStr: string) => {
  const wordArray = CryptoJS.enc.Utf8.parse(rawStr);
  const base64 = CryptoJS.enc.Base64.stringify(wordArray);
  console.log('encrypted:', base64);
};
